﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MiniCrawler.DataAccess;
using MiniCrawler.Entity;

namespace MiniCrawler.Downloader.ResourceDownloader
{
    public abstract class ResourceLinkCollector
    {
        public List<DataLink> Urls;
        public List<string> Extensions;
        public List<string> ResourcePatterns;

        protected ResourceLinkCollector(string hostName, int level)
        {
            this.Urls = DataLinkHelper.SelectUncheckedLinks(hostName, level);
        }
    }
}
